package com.aaa.hospital.ManagementEnd.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegistrationDB {
    private Integer id;         //表id
    private Integer visid;        //患者id
    private Integer did;       //医生id
    private Integer ksid;      //科室id
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date visitdate;     //就医时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date aptdate;       //预约时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date appdate;       //预约时间
    private String schedule;   //预约早中晚
    private String Notes;      //备注
    private Integer state;      //状态
    private Integer inspect;   //体检状态
    private String name;
    private String ksname;
    private String uname;
    private Integer appid;
}
